home *** CD-ROM | disk | FTP | other *** search
-
- # not local -- try mailer table lookup
- R$* <@ $+ > $* $: < $2 > $1 < @ $2 > $3 extract host name
- R< $+ . > $* $: < $1 > $2 strip trailing dot
- R< $+ > $* $: < $(mailertable $1 $) > $2 lookup
- R< $- : $+ > $* $# $1 $@ $2 $: $3 check -- resolved?
- R< $+ > $* $: $>90 <$1> $2 try domain
-
- # resolve locally connected UUCP links
- R$* < @ $=Z . UUCP. > $* $#uucp-uudom $@ $2 $: $1 < @ $2 .UUCP. > $3
- R$* < @ $=Y . UUCP. > $* $#uucp-new $@ $2 $: $1 < @ $2 .UUCP. > $3
- R$* < @ $=U . UUCP. > $* $#uucp-old $@ $2 $: $1 < @ $2 .UUCP. > $3
-
-
- # resolve fake top level domains by forwarding to other hosts
- R$*<@$+.BITNET.>$* $: $>95 < $B > $1 <@$2.BITNET.> $3 user@host.BITNET
-
- # forward non-local UUCP traffic to our UUCP relay
- R$*<@$*.UUCP.>$* $: $>95 < $Y > $1 <@$2.UUCP.> $3 uucp mail
-
-
- # pass names that still have a host to a smarthost (if defined)
- R$* < @ $* > $* $: $>95 < $S > $1 < @ $2 > $3 glue on smarthost name
-
- # deal with other remote names
- R$* < @$* > $* $#smtp $@ $2 $: $1 < @ $2 > $3 user@host.domain
-
- # if this is quoted, strip the quotes and try again
- R$+ $: $(dequote $1 $) strip quotes
- R$+ $=O $+ $@ $>97 $1 $2 $3 try again
-
- # handle locally delivered names
- R$=L $#local $: @ $1 special local names
- R$+ $#local $: $1 regular local names
-
-